<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>      
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/include/css/style.css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/include/js/jquery-1.6.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('.link-back').click(function(){
		$('form[name=myForm]').attr('action','${pageContext.request.contextPath}/role/back');
		$('.btn-save').click();
	});	
});
   
</script>

<div class="sub-content">	
	<h3>Xác nhận thông tin nhập</h3>
	<form:form method="post" action="complete" commandName="obj" name="myForm">
		<form:hidden path="roleId" />
		<table>
			<tr>
				<td class="column1">Tên vai trò:</td>
				<td>${obj.roleName} <form:hidden path="roleName" />
				</td>
			</tr>
			<tr>
				<td class="column1">Mô tả chi tiết:</td>
				<td>${obj.roleDescription} <form:hidden path="roleDescription" />
				</td>
			</tr>
			<tr>
			<tr>
				<td class="column1">
					<a href="${pageContext.request.contextPath}/role">Danh sách</a>&nbsp;&nbsp;
					<a href="javascript:void(0)" class="link-back">Sửa</a>
				</td>
				<td>
					<input type="submit" class="btn-save" value=" Hoàn thành " />
				</td>
			</tr>
		</table>
	</form:form>
</div>	


